if __name__ == '__main__':




    def num_change():

        global num #声明全局变量

        num = 200 #局部变量
        num2 = 3000
    def param_test(num):
        num[0] = 1000


    def param_test1(num):

        print('函数内num',id(num))
        num = 1000
        print('函数内num后', id(num))


    num = [100]
    # num_change()

    param_test1(num)

    print(id(num))